package com.canyou.basic.entity.sms;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 短信分页列表模型
 *
 * @author fy
 * @date 20/08/14 10:04
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "SmsSendVO", description = "短信分页列表模型")
public class SmsSendVO {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "接收短信手机号")
    private String phoneNumber;

    @ApiModelProperty(value = "短信模板编号")
    private String templateCode;

    @ApiModelProperty(value = "短信模板参数")
    private String para;

    @ApiModelProperty(value = "短信发送错误状态码")
    private String errCode;

    @ApiModelProperty(value = "短信发送错误信息")
    private String errMsg;

    @ApiModelProperty(value = "发送回执id")
    private String bizId;

    @ApiModelProperty(value = "短信发送时间")
    private LocalDateTime sendDate;

    @ApiModelProperty(value = "短信接收时间")
    private LocalDateTime receiveDate;

    @ApiModelProperty(value = "发送状态 1：等待回执，2：发送失败，3：发送成功")
    private Integer sendStatus;

    @ApiModelProperty(value = "短信类型(1: 重置密码, 2: 租金缴纳提醒)")
    private Integer smsType;

    @ApiModelProperty(value = "短信内容")
    private String content;

    @ApiModelProperty(value = "是否已经发送(0: 未发送, 1: 已发送)")
    private Integer isSend;

    @ApiModelProperty(value = "是否已经重发(0: 未重发, 1: 已重发)")
    private Integer isResend;

}
